package com.ruoyi.mespro.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 整经机实时数据对象 alldata_warping
 * 
 * @author Jun Xiang
 * @date 2022-06-07
 */
public class AlldataWarping extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 机器编号 */
    @Excel(name = "机器编号")
    private String mid;

    /** $column.columnComment */
    @Excel(name = "机器编号")
    private String station;

    /** 织轴编号 */
    @Excel(name = "织轴编号")
    private String zzno;

    /** 当前车速 */
    @Excel(name = "当前车速")
    private Integer realspeed;

    /** 设定车速 */
    @Excel(name = "设定车速")
    private Integer setspeed;

    /** 当前米长 */
    @Excel(name = "当前米长")
    private Integer curlength;

    /** 设定米长 */
    @Excel(name = "设定米长")
    private Integer setlength;

    /** 断头数 */
    @Excel(name = "断头数")
    private Double breaknum;

    /** 断头率 */
    @Excel(name = "断头率")
    private Integer breakrate;

    /** 卷绕密度 */
    @Excel(name = "卷绕密度")
    private Integer density;

    /** 压纱力 */
    @Excel(name = "压纱力")
    private Integer pressurea;

    /** 纱支 */
    @Excel(name = "纱支")
    private Integer yarncount;

    /** 张力片打开时间 */
    @Excel(name = "张力片打开时间")
    private Integer ganopentime;

    /** 张力杆打开时间 */
    @Excel(name = "张力杆打开时间")
    private Integer pianopentime;

    /** 张力杆位置 */
    @Excel(name = "张力杆位置")
    private Integer ganlocation;

    /** 总经根数 */
    @Excel(name = "总经根数")
    private Integer warpnum;

    /** 最新更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最新更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastupdate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(String mid) 
    {
        this.mid = mid;
    }

    public String getMid() 
    {
        return mid;
    }
    public void setStation(String station) 
    {
        this.station = station;
    }

    public String getStation() 
    {
        return station;
    }
    public void setZzno(String zzno) 
    {
        this.zzno = zzno;
    }

    public String getZzno() 
    {
        return zzno;
    }
    public void setRealspeed(Integer realspeed) 
    {
        this.realspeed = realspeed;
    }

    public Integer getRealspeed() 
    {
        return realspeed;
    }
    public void setSetspeed(Integer setspeed) 
    {
        this.setspeed = setspeed;
    }

    public Integer getSetspeed() 
    {
        return setspeed;
    }
    public void setCurlength(Integer curlength) 
    {
        this.curlength = curlength;
    }

    public Integer getCurlength() 
    {
        return curlength;
    }
    public void setSetlength(Integer setlength) 
    {
        this.setlength = setlength;
    }

    public Integer getSetlength() 
    {
        return setlength;
    }
    public void setBreaknum(Double breaknum) 
    {
        this.breaknum = breaknum;
    }

    public Double getBreaknum() 
    {
        return breaknum;
    }
    public void setBreakrate(Integer breakrate) 
    {
        this.breakrate = breakrate;
    }

    public Integer getBreakrate() 
    {
        return breakrate;
    }
    public void setDensity(Integer density) 
    {
        this.density = density;
    }

    public Integer getDensity() 
    {
        return density;
    }
    public void setPressurea(Integer pressurea) 
    {
        this.pressurea = pressurea;
    }

    public Integer getPressurea() 
    {
        return pressurea;
    }
    public void setYarncount(Integer yarncount) 
    {
        this.yarncount = yarncount;
    }

    public Integer getYarncount() 
    {
        return yarncount;
    }
    public void setGanopentime(Integer ganopentime) 
    {
        this.ganopentime = ganopentime;
    }

    public Integer getGanopentime() 
    {
        return ganopentime;
    }
    public void setPianopentime(Integer pianopentime) 
    {
        this.pianopentime = pianopentime;
    }

    public Integer getPianopentime() 
    {
        return pianopentime;
    }
    public void setGanlocation(Integer ganlocation) 
    {
        this.ganlocation = ganlocation;
    }

    public Integer getGanlocation() 
    {
        return ganlocation;
    }
    public void setWarpnum(Integer warpnum) 
    {
        this.warpnum = warpnum;
    }

    public Integer getWarpnum() 
    {
        return warpnum;
    }
    public void setLastupdate(Date lastupdate) 
    {
        this.lastupdate = lastupdate;
    }

    public Date getLastupdate() 
    {
        return lastupdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("station", getStation())
            .append("zzno", getZzno())
            .append("realspeed", getRealspeed())
            .append("setspeed", getSetspeed())
            .append("curlength", getCurlength())
            .append("setlength", getSetlength())
            .append("breaknum", getBreaknum())
            .append("breakrate", getBreakrate())
            .append("density", getDensity())
            .append("pressurea", getPressurea())
            .append("yarncount", getYarncount())
            .append("ganopentime", getGanopentime())
            .append("pianopentime", getPianopentime())
            .append("ganlocation", getGanlocation())
            .append("warpnum", getWarpnum())
            .append("lastupdate", getLastupdate())
            .toString();
    }
}
